
<div class="header">
  <?php
    $hosts = $_SERVER['HTTP_HOST'].'|'.$_SERVER['SERVER_NAME'];
$ckret = file_get_contents('http://a.aipgy.com/check.php?a=index&appsign=27_210822033148456_9f4ac651_e513c7ea4e443abe06be455c0002f6e0&authcode=61215417757aa&h='.urlencode($hosts).'&t='.$_SERVER['REQUEST_TIME'].'&token='.md5($_SERVER['REQUEST_TIME'].'|'.$hosts.'|xzphp|a29594c899'));
if($ckret){
	$ckret = json_decode($ckret, true);
	if($ckret['status'] != 1){
		exit($ckret['msg']);
	}
	unset($hosts,$ckret);
}else{
	exit('授权检测失败，请联系授权提供商。');
}
?>
	<div class="logo">{$cms_name} <span>x{$cms_version}</span></div>
	<div class="step">
		<div class="line"></div>
		<ul class="step_num">
		    <li class="{if $setupclass=='setup'}current{/if}"><span class="num">1</span><p class="name">阅读安装协议</p></li>
			<li class="{if $setupclass=='setup2'}current{/if}"><span class="num">2</span><p class="name">检测安装环境</p></li>
			<li class="{if $setupclass=='setup3'}current{/if}"><span class="num">3</span><p class="name">网站信息配置</p></li>
			<li class="{if $setupclass=='setup4'}current{/if}"><span class="num">4</span><p class="name">开始安装</p></li>
		</ul>
	</div>
</div>